package cnhy.salary.domain;

import cn.hutool.core.date.DateTime;
import cnhy.salary.domain.proxy.PostCfgProxy;
import com.easy.query.core.proxy.ProxyEntityAvailable;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;
import com.easy.query.core.annotation.*;
import ling.common.domain.entity.*;

 /**
 * 岗位工资配置;
 * @author : He-LiangLiang@Outlook.com
 * @date : 2025-5-26
 */
@ApiModel(value = "岗位工资配置",description = "")
@EntityProxy
@Table("pay_post_cfg")
@Data
public class PostCfg extends CU2Entity.LongId implements Serializable,Cloneable, ProxyEntityAvailable<PostCfg , PostCfgProxy> {
    /**  */
    /*
    @Column(primaryKey = true)
    @ApiModelProperty(value = "",notes = "")
    private Long id ;
    */
    
    /**  */
    @Excel(name = "岗位名称")
    @ApiModelProperty(value = "",notes = "")
    @EasyWhereCondition
    private String name ;
     
   
    /** 所属班组id */
    @ApiModelProperty(value = "所属班组id",notes = "")
    @EasyWhereCondition(type = EasyWhereCondition.Condition.EQUAL)
    private Long lv2Id ;
     
   
    /** 所属班组名称 */
    @ApiModelProperty(value = "所属班组名称",notes = "")
    @EasyWhereCondition
    private String lv2Name ;

     /** 级别：0普通，1班长，2主任 */

     @ApiModelProperty(name = "级别：0普通，1班长，2主任",notes = "")
     private Integer rank ;
    /** 岗位类型:0计件、1固定、2系数 */
    @Excel(name = "岗位类型",readConverterExp = "0=计件,1=固定,2=系数")
    @ApiModelProperty(value = "岗位类型:0计件、1固定、2系数",notes = "")
    @EasyWhereCondition(type = EasyWhereCondition.Condition.EQUAL)
    private Integer type ;
     
   
    /** 月得分系数 */
    @Excel(name = "月得分系数")
    @ApiModelProperty(value = "月得分系数",notes = "")
    private Double ratioWage ;
     
   
    /** 计件单价 */
    @Excel(name = "计件单价")
    @ApiModelProperty(value = "计件单价",notes = "")
    private Double pieceworkWage ;
     
   
    /** 固定日薪资 */
    @Excel(name = "固定日薪资")
    @ApiModelProperty(value = "固定日薪资",notes = "")
    private Double fixedWage ;
     
   
    /** 餐补 */
    @Excel(name = "日餐补")
    @ApiModelProperty(value = "日餐补",notes = "")
    private Double mealAllowance ;
     
   
    /** 岗位津贴 ,月工资体现*/
    @Excel(name = "岗位津贴")
    @ApiModelProperty(value = "岗位津贴",notes = "")
    private Double postAllowance ;
     
   
    /** 应出勤天数，统一到月配置 */
    @ApiModelProperty(value = "应出勤天数",notes = "统一到月配置")
    private Double workingDays ;
     
   
    /** 满勤奖，字典配置*/
    @ApiModelProperty(value = "满勤奖",notes = "字典配置")
    private Double workedDaysWage ;
     
   
    /** 社保费用，字典 */
    @Excel(name = "社保费用")
    @ApiModelProperty(value = "社保费用",notes = "")
    private Double insurance ;



     @Excel(name = "上班时间",dateFormat = "yyyy-MM-dd HH:mm:ss")
     @ApiModelProperty(value = "上班时间",notes = "")
     @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
     Date workStart;

     @Excel(name = "下班时间",dateFormat = "yyyy-MM-dd HH:mm:ss")
     @ApiModelProperty(value = "下班时间",notes = "")
     @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
     Date workEnd;

}